package com.hkts.naturalgasauthentication.mobile.controller;

import com.hkts.management.common.utils.Result;
import com.hkts.management.common.utils.ResultUtil;
import com.hkts.naturalgasauthentication.base.controller.ManagementBaseController;
import com.hkts.naturalgasauthentication.base.entity.User;
import com.hkts.naturalgasauthentication.base.service.ManagementBaseService;
import com.hkts.naturalgasauthentication.common.Exception.CodeIsErrorException;
import com.hkts.naturalgasauthentication.common.Exception.CodeIsNullException;
import com.hkts.naturalgasauthentication.mobile.entity.UserMobiles;
import com.hkts.naturalgasauthentication.mobile.service.UserMobileService;
import com.hkts.naturalgasauthentication.utils.SecurityUtil;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassNameUserMobileController
 * @Description
 * @Author yck
 * @Date2021-05-11 14:01
 * @Version V1.0
 **/
@RequestMapping("/authentication/mobile")
@RestController
@Api(tags = "用户电话部分接口")
public class UserMobileController extends ManagementBaseController<UserMobiles,String> {
    @Autowired
    private UserMobileService userMobileServiceImpl;
    @Autowired
    private StringRedisTemplate redisTemplate;
    @Autowired
    private SecurityUtil securityUtil;
    @Override
    public ManagementBaseService<UserMobiles, String> getService() {
        return userMobileServiceImpl;
    }



}
